import { useLocalStorage } from "./hooks/useLocalStorage";

function App () {
  const [msg, setMsg] = useLocalStorage('MSG', 10789)
  return (
    <div>
      { msg }
      <button onClick={() => setMsg('lyh')}>改变值</button>
    </div>
  )
}

export default App;
